import { createApp } from 'vue'
import App from './App.vue'
import router from '@/router'
import store from '@/store'

/*element-plus*/
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

/*全局css*/
import '@/assets/styles/reset.css'
import '@/assets/styles/border.css'

/*svg*/
import SvgIcon from '@/icons'
const app=createApp(App);
SvgIcon(app);

/*element icon*/
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

app.use(store)
app.use(router)
app.use(ElementPlus)
app.mount('#app')
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
